&lt;cfcomponent extends="mxunit.framework.TestCase"&gt;
	&lt;cfset MyStruct = StructNew()&gt;
	&lt;cfset MyStruct.SomeData = "blahhhhhhh wahahahaha"&gt;


	&lt;cffunction name="setUp" output="false" access="public" returntype="void" hint=""&gt;
		
	&lt;/cffunction&gt;

	&lt;cffunction name="tearDown" output="false" access="public" returntype="void" hint=""&gt;
		&lt;!--- to be safe, since i know i'm monkeying with abandon up in this mofo ---&gt;
		&lt;cfset setTestStyle("default")&gt;
	&lt;/cffunction&gt;


	&lt;cffunction name="testOK"&gt;
		&lt;cfset var q = QueryNew("one,two")&gt;
		&lt;cfset assertTrue(true,"true")&gt;
		&lt;cfoutput&gt;Hi mommmmm  is&lt; valid? what about & &lt;/cfoutput&gt;
		&lt;cfdump var="#MyStruct#"&gt;
		&lt;cfset QueryAddRow(q)&gt;
		&lt;cfset QuerySetCell(q,"one","one")&gt;
		&lt;cfset QuerySetCell(q,"two","two")&gt;
		&lt;cfdump var="#q#"&gt;
		&lt;cfset addTrace("Hi mom")&gt;

	&lt;/cffunction&gt;
	
	&lt;cffunction name="testDoSomething"&gt;
		&lt;cfset debug("inside testDoSomething")&gt;
		&lt;cfset obj = createObject("component","SomeObject")&gt;
		&lt;cfset obj.doSomething()&gt;
	&lt;/cffunction&gt;
	
	&lt;cffunction name="testRequestDotDebug"&gt;		
		&lt;cfset obj = createObject("component","SomeObject")&gt;
		&lt;cfset debug("before the object calls request.debug")&gt;
		&lt;cfset obj.thisWillOnlyWorkInThePlugin()&gt;
		&lt;cfset debug("after a function that called request.debug")&gt;
	&lt;/cffunction&gt;
	
	&lt;cffunction name="testRequestDotDebug_WillShowUpWithoutDebugBeingCalledFirst"&gt;
		&lt;cfset obj = createObject("component","SomeObject")&gt;
		&lt;cfset obj.thisWillOnlyWorkInThePlugin()&gt;
	&lt;/cffunction&gt;
	
	&lt;cffunction name="testRequestDotDebug_WillPassInBothPluginAndWeb"&gt;		
		&lt;cfset createRequestScopeDebug()&gt;
		&lt;cfset obj = createObject("component","SomeObject")&gt;
		&lt;cfset debug("before the object calls request.debug")&gt;
		&lt;cfset obj.thisWillOnlyWorkInThePlugin()&gt;&lt;!--- only work in plugin.... unless we explictly enable it in the test!!! ---&gt;
		&lt;cfset debug("after a function that called request.debug")&gt;
		&lt;cfset stopRequestScopeDebug()&gt;
	&lt;/cffunction&gt;
	
	&lt;cffunction name="testDoSomethingThenExitToGetDump"&gt;
		&lt;cfset obj = createObject("component","SomeObject")&gt;
		&lt;cfset obj.doSomethingThenExitToGetDump()&gt;
	&lt;/cffunction&gt;
	
	

	&lt;cffunction name="testFail" returntype="void" hint=""&gt;
		&lt;cfoutput&gt;wooopity doo!&lt;/cfoutput&gt;
		&lt;cfset debug("blah")&gt;
		&lt;cfset fail("failing intentionally")&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testNotEquals" returntype="void"&gt;
		&lt;cfset assertEquals(1,2,"one is not two")&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testError" returntype="void" hint=""&gt;
		&lt;cfset debug(arraynew(1))&gt;
		&lt;cfset debug("throwing error from inside testError before i throw intentionally")&gt;
		 &lt;cfthrow message="throwing error intentially"&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="throwErrorFromComponentNotInWorkspace" output="false" access="public" returntype="any" hint="calls a component that isn't in the cfeclipse workspace"&gt;
		&lt;cfset var sc = createObject("component","SomeComponent")&gt;
		&lt;cfset sc.saySomething()&gt;
		&lt;cfset sc.throwAnError()&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAnotherError" returntype="void" hint=""&gt;
		&lt;cfinvoke component="mxunit.framework.Formatters" method="toStructs" xml="invalidxml" returnvariable="nothin"&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testWithDebug"&gt;
		&lt;cfset debug(StructNew())&gt;
		&lt;cfset debug(arraynew(1))&gt;
		&lt;cfdump var="#getDebug()#"&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testPrivate" output="false" access="private"&gt;
		&lt;cfthrow message="this is private and should never run"&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testPackage" output="false" access="package"&gt;
		&lt;cfthrow message="this is package and should never run"&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueFailing" output="false" access="public" returntype="any" hint=""&gt;
		&lt;cfset assertTrue(1 eq 2,"this should fail because one equals two is not true")&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueFailingWithoutMessage" output="false" access="public" returntype="any" hint=""&gt;
		&lt;cfset assertTrue(1 eq 2)&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueOK"&gt;
		&lt;cfset assertTrue(1 eq 1,"")&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueCFCUnitStyle"&gt;
		&lt;cfset setTestStyle("default")&gt;
		&lt;cfset assertTrue(1 eq 1,"OK")&gt;
		&lt;cfset assertTrue(1 eq 1)&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueCFCUnitStyleFailure"&gt;
		&lt;cfset setTestStyle("default")&gt;
		&lt;cfset assertTrue(1 eq 2,"1 does not equal 2")&gt;
	&lt;/cffunction&gt;

	&lt;cffunction name="testAssertTrueCFUnitStyleFailure"&gt;
		&lt;cfset setTestSTyle("cfunit")&gt;
		&lt;cfset assertTrue("false ain't true, sucka",false)&gt;
	&lt;/cffunction&gt;


&lt;/cfcomponent&gt;